import request from '@/utils/request'

const api = {
  parameterList: '/api/other_dxfs/getOther_DXFSList',
  postSms: '/api/other_dxfs/Post_Other_DXFS',
  smsDetail: '/api/other_dxfs/getOther_DXFSByID'
}

export default api

export function getParameterList (parameter) {
  return request({
    url: api.parameterList,
    method: 'get',
    params: parameter
  })
}

export function getSmsDetail (parameter) {
  return request({
    url: api.smsDetail,
    method: 'get',
    params: parameter
  })
}

export function sendSms (data) {
  return request({
    url: api.postSms,
    method: 'post',
    data
  })
}
